<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/html">
<head th:replace="layouts::header" ></head>
<body>
<nav th:replace="layouts::navbar"></nav>
<div class="container">
    <h3>课程表</h3>
    <hr>

    <a th:href="@{/curriculum/new}" class="btn btn-primary btn-sm mb-3">新增课程</a>
    <br>
    <table class="table table-bordered table-striped bx">
        <thead class="thead-dark">
        <tr>
            <th>课程编号</th>
            <th>名称</th>
            <th>学时</th>
            <th>学分</th>
            <th>授课老师</th>
            <th>性质</th>
            <th>课程评价</th>

        </tr>

        </thead>
        <tbody>
        <tr th:each="a1: ${curriculum}">
            <td th:text="${a1.curriculumNum}"></td>
            <td th:text="${a1.curriculumName}"></td>
            <td th:text="${a1.class_hour}"></td>
            <td th:text="${a1.credit}"></td>
            <td th:text="${a1.name1}"></td>
            <td th:text="${a1.nature}"></td>
            <td th:text="${a1.evaluate}"></td>
        </tbody>
    </table>
</div>




</body>
</html>